package chp07;

import java.util.Arrays;

public class Test10 {

    public static void main(String[] args) {
        //排序
        int[] nums = {34,56,2,78,12};
        System.out.println(Arrays.toString(nums));
        Arrays.sort(nums);
        System.out.println(Arrays.toString(nums));
    }
}
